home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2002-11-02 | 1.5 KB | 45 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="2"
- "COUNT"="1"
- "UIPATH 1"="System\Screensaver"
- "UIPATH 2"="Appearance\System\Screensaver"
- "NAME"="Domain Refresh Delay"
- "VERSION"="1.13"
- "OSVERSION"="01000"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Unlock Delay (s)"
- "DESCRIPTION 1"="By default when a Workstation is unlocked, the domain list is updated if the cached list's age exceeds 120 seconds."
- "DESCRIPTION 2"="To avoid delays, this time limit can be increased up to a value of 86400 seconds [one day]."
- "DESCRIPTION 3"="Enter a value from "120" to "86400" [no quotes]."
- "DESCRIPTION 4"="For more information see MSKB article: http://support.microsoft.com/support/kb/articles/q160/8/39.asp."
- "DESCRIPTION 5"="Notice: This setting affects all users on this computer."
- "AUTHOR"="Ojatex@aol.com"
- "CONTACTURL"="http://members.aol.com/ojatex/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"="For additional X-Setup program information, go to http://www.xteq.com."
- "COMMENT 2"="Thanks to CptSiskoX for the suggestion."
-
- sP="HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon\DcacheMinInterval"
-
- Sub Plugin_Initialize
- i=RegReadValue(sP)
- SetUIElement 1,i
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- i=GetUIElement(1)
- if len(i)>0 then
- Call RegWriteValue(sP,i,2)
- else
- If RegValueExists(sP) then RegDeleteValue(sP)
- end if
-
- Call Restart()
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-